<?php
if(!$profile->permission('_user_can_view_menu_manager'))
	header("Location: index.php");



$submenu .= el::elDiv('action-wrapper', 
	elJquery::elJqueryButton('Gestione Istanze','gest_istance', FALSE, 'index.php?do=istance')
	.elJquery::elJqueryButton('Gestione Boss','gest_boss', TRUE, 'index.php?do=boss')
	.elJquery::elJqueryButton('Gestione Loot','gest_loot', FALSE, 'index.php?do=loot')
	.elJquery::elJqueryButton('Setup Raid','gest_raid', FALSE, 'index.php?do=raid'),
	array('align'=>'left')
);

$elform .= el::elFieldset('Informazioni Boss', 
	el::elText('Nome completo del Boss', 'bossname', '', array("size"=>'50'))
	.el::elC()
	.el::elSelect('Istanza in cui si trova il boss','istanceid',$data->getAllIstanceCombo())
	.el::elC()
	.el::elText('Vita totale del boss', 'bosshp','')
	.el::elC()
	.el::elSelect('Stato dell Boss','bossstatus',array("Ucciso"=>"Ucciso","Vivo"=>"Vivo","In Progress"=>"In Progress"))
	.el::elC()
	.el::elTextArea("Descrizione Boss","bossdesc",null,array("rows"=>"20","cols"=>"100"))
);

$elButton .= el::elButtonReset("clear_boss", "Pulisci Campi").el::elS().el::elButton("new_boss", "Nuovo Boss").el::elS().el::elButton("save_boss", "Salva Modifiche");
$elform .= el::elHidden("bossid");

$form_new_istance = new elStyleForm(' Crea un nuovo Boss', 'censboss', $elform, $elButton);

$content .= $form_new_istance->elStyleForm;

$content .= el::elC(1).el::elDiv('div_tbl_bosslist','');


$jsmodule= "<script language=\"javascript\" type=\"text/javascript\" src=\"main/js/mod/jsBoss.js\" charset=\"iso-8859-1\"></script>\n";







include("theme/default/index.php");
?>